﻿namespace Traffic.Entity;

/// <summary>
/// 活动订单
/// </summary>
public partial class EventOrder
{
    public int Id { get; set; }

    /// <summary>
    /// 用户ID，对应UserData.ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 联系人
    /// </summary>
    public string Contact { get; set; } = null!;

    /// <summary>
    /// 联系电话
    /// </summary>
    public string? Mobile { get; set; }

    /// <summary>
    /// 创建日期
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 票号
    /// </summary>
    public string? TicketNumber { get; set; }

    /// <summary>
    /// 起飞时间
    /// </summary>
    public DateTime? FlightDate { get; set; }

    /// <summary>
    /// 航班号
    /// </summary>
    public string? FlightNumber { get; set; }

    /// <summary>
    /// 出发日期
    /// </summary>
    public DateTime SetDate { get; set; }

    /// <summary>
    /// 是否去程
    /// </summary>
    public bool IsGo { get; set; }

    /// <summary>
    /// 产品名
    /// </summary>
    public string? GoodsName { get; set; }

    /// <summary>
    /// 上传证件连接
    /// </summary>
    public string? CredentialsUrl { get; set; }

    /// <summary>
    /// 起飞城市
    /// </summary>
    public string? StartCity { get; set; }

    /// <summary>
    /// 到达城市
    /// </summary>
    public string? EndCity { get; set; }

    /// <summary>
    /// 状态 0：审核不过  1：审核中  2：南航审核完毕  3：客服确认   4：使用成功
    /// </summary>
    public int EventState { get; set; }

    /// <summary>
    /// 使用日期
    /// </summary>
    public DateTime? CheckTime { get; set; }

    public string? DriverName { get; set; }

    /// <summary>
    /// 提供产品    免票巴士  专车接送
    /// </summary>
    public string? SupportGoods { get; set; }

    public string? CarNo { get; set; }

    /// <summary>
    /// 系统记录
    /// </summary>
    public string? SysLog { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remarks { get; set; }

    /// <summary>
    /// 记录状态  0：作废   1：正常
    /// </summary>
    public bool Status { get; set; }
}
